import webapp2

class ApiHandler(webapp2.RequestHandler):
    def get(self):
        self.response.out.write('[{"id":"type1", "text":"type1", "leaf":true, "type":"xxx-zzz-yyy"}]')

app = webapp2.WSGIApplication([('/.*', ApiHandler)], debug=True)